
package com.ktgj.common.spring.entity.iata.iata_orderviewrs;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>FareListType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="FareListType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="FareGroup" maxOccurs="unbounded"&gt;
 *           &lt;complexType&gt;
 *             &lt;complexContent&gt;
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                 &lt;sequence&gt;
 *                   &lt;element name="FareCode" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *                   &lt;element name="FareDetail" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}FareDetailType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *                   &lt;element name="FareGroupID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FareListType", propOrder = {
    "fareGroup"
})
public class FareListType {

    @XmlElement(name = "FareGroup", required = true)
    protected List<FareListType.FareGroup> fareGroup;

    /**
     * Gets the value of the fareGroup property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the fareGroup property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getFareGroup().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link FareListType.FareGroup }
     * 
     * 
     */
    public List<FareListType.FareGroup> getFareGroup() {
        if (fareGroup == null) {
            fareGroup = new ArrayList<FareListType.FareGroup>();
        }
        return this.fareGroup;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element name="FareCode" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
     *         &lt;element name="FareDetail" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}FareDetailType" maxOccurs="unbounded" minOccurs="0"/&gt;
     *         &lt;element name="FareGroupID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "fareCode",
        "fareDetail",
        "fareGroupID"
    })
    public static class FareGroup {

        @XmlElement(name = "FareCode", required = true)
        protected String fareCode;
        @XmlElement(name = "FareDetail")
        protected List<FareDetailType> fareDetail;
        @XmlElement(name = "FareGroupID", required = true)
        protected String fareGroupID;

        /**
         * 获取fareCode属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getFareCode() {
            return fareCode;
        }

        /**
         * 设置fareCode属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setFareCode(String value) {
            this.fareCode = value;
        }

        /**
         * Gets the value of the fareDetail property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the fareDetail property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getFareDetail().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link FareDetailType }
         * 
         * 
         */
        public List<FareDetailType> getFareDetail() {
            if (fareDetail == null) {
                fareDetail = new ArrayList<FareDetailType>();
            }
            return this.fareDetail;
        }

        /**
         * 获取fareGroupID属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getFareGroupID() {
            return fareGroupID;
        }

        /**
         * 设置fareGroupID属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setFareGroupID(String value) {
            this.fareGroupID = value;
        }

    }

}
